package com.yaj.myfactorysupport.controller;


import com.yaj.myfactorysupport.entity.TSmtNg;
import com.yaj.myfactorysupport.service.TSmtNgService;
import com.yaj.myfactorysupport.util.RespBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wei
 * @since 2021-06-05
 */
@Api(tags = "TSmtNgController")
@RestController
@RequestMapping("/myfactorysupport/t-smt-ng")
public class TSmtNgController {
    @Autowired
    private TSmtNgService tSmtNgService;

    @ApiOperation(value = "SMT NG情报登录")
    @PostMapping(value = "RegSMTNG")
    public RespBean RegSMTNG(@RequestBody TSmtNg tSmtNg){
        return tSmtNgService.RegSMTNG(tSmtNg);
    }
}

